package cn.com.lyb.annotation;


import cn.com.lyb.asyncTask.config.AsyncConfig;
import cn.com.lyb.asyncTask.manage.AsyncTaskAop;
import cn.com.lyb.asyncTask.manage.AsyncTaskExecutor;
import cn.com.lyb.asyncTask.manage.AsyncTaskManager;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 开启自定义异步任务注解
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({ AsyncConfig.class, AsyncTaskAop.class, AsyncTaskManager.class, AsyncTaskExecutor.class})
public @interface EnableCustomAsyncTask {

}
